package com.wensi.lib_base

import android.app.Application
import android.content.Intent
import com.wensi.helper.ARouterHelper
import com.wensi.helper.NotificationHelper
import com.wensi.service.InitService

open class BaseApplication: Application() {
    override fun onCreate() {
        super.onCreate()

        ARouterHelper.initHelper(this)
        NotificationHelper.initNotifiHelper(this)
        startService(Intent(this, InitService::class.java)) // 属优化-一些初始化放到了service服务中
    }
}